package ${package!};

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import AssociatedObject;
import FieldDesc;
${imports!}

@TableName(value= "${entity.tableName}")
public class ${entity.className} implements java.io.Serializable {

 <%
    for(field in entity.fields!){
    %>
    @FieldDesc(type= "${field.type}" ,name = "${field.name}", desc = "${field.desc}")
    private ${field.type}  ${field.name};

<%}%>


 <%
    for(field in entity.fields!){
    %>
    private void set${field.upperName}(${field.type}  ${field.name}) {
        this.${field.name} = ${field.name};
    }

    private ${field.type} get${field.upperName}() {
        return ${field.name};
    }

 <%}%>
}